package com.hyou.demos.chain.handler.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.hyou.demos.chain.handler.Handler;

public class ThreeHandlerImpl implements Handler {
    
    private static final Logger log = LoggerFactory.getLogger(ThreeHandlerImpl.class);
    
    @Override
    public boolean invokeRequest(Object paramObj) {
        log.debug("ThreeHandlerImpl call. param : {}", paramObj);
        return true;
    }
    
    @Override
    public boolean exceptionCaught(Throwable cause) {
        log.error(cause.getMessage(), cause);
        return false;
    }
    
}
